﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IPhuCap
    {
        [OperationContract]
        IEnumerable<PHUCAP> GetByAllPhucCap();

        [OperationContract]
        String InsertPhucCap(PHUCAP data);

        [OperationContract]
        String UpdatePhucCap(PHUCAP data);

        [OperationContract]
        String DeletePhucCap(string id);

        [OperationContract]
        IEnumerable<PHUCAP> GetByTopPhucCap(string _top, string _where, string _order);

        [OperationContract]
        String ApprovePhucCap(PHUCAP data);
    }
}
